$(function(){
    $('.btn-primary').click(function(){
        console.log(111);
        $.ajax({
            url:"/employee/employeeLogin",
            type:"post",
            data:{
                username:$('input[type=text]').val(),
                password:$('input[type=password]').val()
            },
            success:function(backData){
                console.log(backData);
                if(backData.success){
                    window.location.href = "index.html";
                }
            }
        })
    })
})